package Demo03;

public class Demo02Student {
    public static void main(String[] args) {
        Student stu1 = new Student();
        System.out.println("================");
        Student stu2 = new Student("小王",30);
        System.out.println("姓名"+stu2.getName()+",年龄"+stu2.getAge());
        stu2.setAge(35);
        System.out.println("姓名"+stu2.getName()+",年龄"+stu2.getAge());




    }
}
